﻿<h3>Foursquare.GetBadgesWidget() Method</h3>

<pre class="code">
@@Foursquare.GetBadgesWidget(accessToken, userId: 13442)
</pre>

@if (Session["accessToken"] != null) {
	<h4>James' Badges</h4>
	@Foursquare.GetBadgesWidget(Session["accessToken"].ToString(), userId: 13442)
} else {
    <div class="message info">
        You're not logged in with Foursquare, login by clicking the following @Foursquare.GetLoginLink("link", "~/GetFriends")
    </div>
}


